import React from 'react';
import { configure } from 'mobx';
import { Provider } from 'mobx-react';
import Store from './store';

import MainPage from './containers/Home';
import './assets/css/index.scss';

window._ = require('lodash');

configure({ enforceActions: "always" }) // 不允许在动作之外进行状态修改

const store =new Store();

function App() {
  return (
    <Provider store={ store }>
      <div className="content-box">
          <MainPage />
      </div>
    </Provider>
  );
}

export default App;
